project(opengl)

include_directories(${CMAKE_SOURCE_DIR}/include)

aux_source_directory(. DIR_SRCS)
add_library(${PROJECT_NAME} ${DIR_SRCS})

target_link_libraries(${PROJECT_NAME} PRIVATE GL)
target_link_libraries(${PROJECT_NAME} PRIVATE glad)
target_link_libraries(${PROJECT_NAME} PRIVATE glfw)
target_link_libraries(${PROJECT_NAME} PRIVATE stb)